package com.test.test_rest.miner_pool.domain.gen;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MinerSymbolLogCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer mysqlOffset;

    protected Integer mysqlLength;

    protected String isCURD;

    public MinerSymbolLogCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlOffset(Integer mysqlOffset) {
        this.mysqlOffset=mysqlOffset;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlOffset() {
        return mysqlOffset;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlLength(Integer mysqlLength) {
        this.mysqlLength=mysqlLength;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlLength() {
        return mysqlLength;
    }

    public void setIsCURD(String isCURD) {
        this.isCURD=isCURD;
    }

    public String getIsCURD() {
        return isCURD;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSymbolIsNull() {
            addCriterion("SYMBOL is null");
            return (Criteria) this;
        }

        public Criteria andSymbolIsNotNull() {
            addCriterion("SYMBOL is not null");
            return (Criteria) this;
        }

        public Criteria andSymbolEqualTo(String value) {
            addCriterion("SYMBOL =", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotEqualTo(String value) {
            addCriterion("SYMBOL <>", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolGreaterThan(String value) {
            addCriterion("SYMBOL >", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolGreaterThanOrEqualTo(String value) {
            addCriterion("SYMBOL >=", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLessThan(String value) {
            addCriterion("SYMBOL <", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLessThanOrEqualTo(String value) {
            addCriterion("SYMBOL <=", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLike(String value) {
            addCriterion("SYMBOL like", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotLike(String value) {
            addCriterion("SYMBOL not like", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolIn(List<String> values) {
            addCriterion("SYMBOL in", values, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotIn(List<String> values) {
            addCriterion("SYMBOL not in", values, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolBetween(String value1, String value2) {
            addCriterion("SYMBOL between", value1, value2, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotBetween(String value1, String value2) {
            addCriterion("SYMBOL not between", value1, value2, "symbol");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("AMOUNT =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("AMOUNT <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("AMOUNT >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AMOUNT >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("AMOUNT <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AMOUNT <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("AMOUNT in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("AMOUNT not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AMOUNT between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AMOUNT not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andDailyProfitIsNull() {
            addCriterion("DAILY_PROFIT is null");
            return (Criteria) this;
        }

        public Criteria andDailyProfitIsNotNull() {
            addCriterion("DAILY_PROFIT is not null");
            return (Criteria) this;
        }

        public Criteria andDailyProfitEqualTo(BigDecimal value) {
            addCriterion("DAILY_PROFIT =", value, "dailyProfit");
            return (Criteria) this;
        }

        public Criteria andDailyProfitNotEqualTo(BigDecimal value) {
            addCriterion("DAILY_PROFIT <>", value, "dailyProfit");
            return (Criteria) this;
        }

        public Criteria andDailyProfitGreaterThan(BigDecimal value) {
            addCriterion("DAILY_PROFIT >", value, "dailyProfit");
            return (Criteria) this;
        }

        public Criteria andDailyProfitGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("DAILY_PROFIT >=", value, "dailyProfit");
            return (Criteria) this;
        }

        public Criteria andDailyProfitLessThan(BigDecimal value) {
            addCriterion("DAILY_PROFIT <", value, "dailyProfit");
            return (Criteria) this;
        }

        public Criteria andDailyProfitLessThanOrEqualTo(BigDecimal value) {
            addCriterion("DAILY_PROFIT <=", value, "dailyProfit");
            return (Criteria) this;
        }

        public Criteria andDailyProfitIn(List<BigDecimal> values) {
            addCriterion("DAILY_PROFIT in", values, "dailyProfit");
            return (Criteria) this;
        }

        public Criteria andDailyProfitNotIn(List<BigDecimal> values) {
            addCriterion("DAILY_PROFIT not in", values, "dailyProfit");
            return (Criteria) this;
        }

        public Criteria andDailyProfitBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DAILY_PROFIT between", value1, value2, "dailyProfit");
            return (Criteria) this;
        }

        public Criteria andDailyProfitNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DAILY_PROFIT not between", value1, value2, "dailyProfit");
            return (Criteria) this;
        }

        public Criteria andAllPowerIsNull() {
            addCriterion("ALL_POWER is null");
            return (Criteria) this;
        }

        public Criteria andAllPowerIsNotNull() {
            addCriterion("ALL_POWER is not null");
            return (Criteria) this;
        }

        public Criteria andAllPowerEqualTo(String value) {
            addCriterion("ALL_POWER =", value, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerNotEqualTo(String value) {
            addCriterion("ALL_POWER <>", value, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerGreaterThan(String value) {
            addCriterion("ALL_POWER >", value, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerGreaterThanOrEqualTo(String value) {
            addCriterion("ALL_POWER >=", value, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerLessThan(String value) {
            addCriterion("ALL_POWER <", value, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerLessThanOrEqualTo(String value) {
            addCriterion("ALL_POWER <=", value, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerLike(String value) {
            addCriterion("ALL_POWER like", value, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerNotLike(String value) {
            addCriterion("ALL_POWER not like", value, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerIn(List<String> values) {
            addCriterion("ALL_POWER in", values, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerNotIn(List<String> values) {
            addCriterion("ALL_POWER not in", values, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerBetween(String value1, String value2) {
            addCriterion("ALL_POWER between", value1, value2, "allPower");
            return (Criteria) this;
        }

        public Criteria andAllPowerNotBetween(String value1, String value2) {
            addCriterion("ALL_POWER not between", value1, value2, "allPower");
            return (Criteria) this;
        }

        public Criteria andDifficultyIsNull() {
            addCriterion("DIFFICULTY is null");
            return (Criteria) this;
        }

        public Criteria andDifficultyIsNotNull() {
            addCriterion("DIFFICULTY is not null");
            return (Criteria) this;
        }

        public Criteria andDifficultyEqualTo(String value) {
            addCriterion("DIFFICULTY =", value, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyNotEqualTo(String value) {
            addCriterion("DIFFICULTY <>", value, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyGreaterThan(String value) {
            addCriterion("DIFFICULTY >", value, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyGreaterThanOrEqualTo(String value) {
            addCriterion("DIFFICULTY >=", value, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyLessThan(String value) {
            addCriterion("DIFFICULTY <", value, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyLessThanOrEqualTo(String value) {
            addCriterion("DIFFICULTY <=", value, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyLike(String value) {
            addCriterion("DIFFICULTY like", value, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyNotLike(String value) {
            addCriterion("DIFFICULTY not like", value, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyIn(List<String> values) {
            addCriterion("DIFFICULTY in", values, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyNotIn(List<String> values) {
            addCriterion("DIFFICULTY not in", values, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyBetween(String value1, String value2) {
            addCriterion("DIFFICULTY between", value1, value2, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyNotBetween(String value1, String value2) {
            addCriterion("DIFFICULTY not between", value1, value2, "difficulty");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffIsNull() {
            addCriterion("DIFFICULTY_DIFF is null");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffIsNotNull() {
            addCriterion("DIFFICULTY_DIFF is not null");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffEqualTo(BigDecimal value) {
            addCriterion("DIFFICULTY_DIFF =", value, "difficultyDiff");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffNotEqualTo(BigDecimal value) {
            addCriterion("DIFFICULTY_DIFF <>", value, "difficultyDiff");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffGreaterThan(BigDecimal value) {
            addCriterion("DIFFICULTY_DIFF >", value, "difficultyDiff");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("DIFFICULTY_DIFF >=", value, "difficultyDiff");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffLessThan(BigDecimal value) {
            addCriterion("DIFFICULTY_DIFF <", value, "difficultyDiff");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffLessThanOrEqualTo(BigDecimal value) {
            addCriterion("DIFFICULTY_DIFF <=", value, "difficultyDiff");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffIn(List<BigDecimal> values) {
            addCriterion("DIFFICULTY_DIFF in", values, "difficultyDiff");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffNotIn(List<BigDecimal> values) {
            addCriterion("DIFFICULTY_DIFF not in", values, "difficultyDiff");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DIFFICULTY_DIFF between", value1, value2, "difficultyDiff");
            return (Criteria) this;
        }

        public Criteria andDifficultyDiffNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DIFFICULTY_DIFF not between", value1, value2, "difficultyDiff");
            return (Criteria) this;
        }

        public Criteria andDayTimeIsNull() {
            addCriterion("DAY_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDayTimeIsNotNull() {
            addCriterion("DAY_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDayTimeEqualTo(String value) {
            addCriterion("DAY_TIME =", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeNotEqualTo(String value) {
            addCriterion("DAY_TIME <>", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeGreaterThan(String value) {
            addCriterion("DAY_TIME >", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeGreaterThanOrEqualTo(String value) {
            addCriterion("DAY_TIME >=", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeLessThan(String value) {
            addCriterion("DAY_TIME <", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeLessThanOrEqualTo(String value) {
            addCriterion("DAY_TIME <=", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeLike(String value) {
            addCriterion("DAY_TIME like", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeNotLike(String value) {
            addCriterion("DAY_TIME not like", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeIn(List<String> values) {
            addCriterion("DAY_TIME in", values, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeNotIn(List<String> values) {
            addCriterion("DAY_TIME not in", values, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeBetween(String value1, String value2) {
            addCriterion("DAY_TIME between", value1, value2, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeNotBetween(String value1, String value2) {
            addCriterion("DAY_TIME not between", value1, value2, "dayTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffIsNull() {
            addCriterion("ALL_POWER_DIFF is null");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffIsNotNull() {
            addCriterion("ALL_POWER_DIFF is not null");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffEqualTo(BigDecimal value) {
            addCriterion("ALL_POWER_DIFF =", value, "allPowerDiff");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffNotEqualTo(BigDecimal value) {
            addCriterion("ALL_POWER_DIFF <>", value, "allPowerDiff");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffGreaterThan(BigDecimal value) {
            addCriterion("ALL_POWER_DIFF >", value, "allPowerDiff");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ALL_POWER_DIFF >=", value, "allPowerDiff");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffLessThan(BigDecimal value) {
            addCriterion("ALL_POWER_DIFF <", value, "allPowerDiff");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ALL_POWER_DIFF <=", value, "allPowerDiff");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffIn(List<BigDecimal> values) {
            addCriterion("ALL_POWER_DIFF in", values, "allPowerDiff");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffNotIn(List<BigDecimal> values) {
            addCriterion("ALL_POWER_DIFF not in", values, "allPowerDiff");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ALL_POWER_DIFF between", value1, value2, "allPowerDiff");
            return (Criteria) this;
        }

        public Criteria andAllPowerDiffNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ALL_POWER_DIFF not between", value1, value2, "allPowerDiff");
            return (Criteria) this;
        }

        public Criteria andAmountDiffIsNull() {
            addCriterion("AMOUNT_DIFF is null");
            return (Criteria) this;
        }

        public Criteria andAmountDiffIsNotNull() {
            addCriterion("AMOUNT_DIFF is not null");
            return (Criteria) this;
        }

        public Criteria andAmountDiffEqualTo(BigDecimal value) {
            addCriterion("AMOUNT_DIFF =", value, "amountDiff");
            return (Criteria) this;
        }

        public Criteria andAmountDiffNotEqualTo(BigDecimal value) {
            addCriterion("AMOUNT_DIFF <>", value, "amountDiff");
            return (Criteria) this;
        }

        public Criteria andAmountDiffGreaterThan(BigDecimal value) {
            addCriterion("AMOUNT_DIFF >", value, "amountDiff");
            return (Criteria) this;
        }

        public Criteria andAmountDiffGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AMOUNT_DIFF >=", value, "amountDiff");
            return (Criteria) this;
        }

        public Criteria andAmountDiffLessThan(BigDecimal value) {
            addCriterion("AMOUNT_DIFF <", value, "amountDiff");
            return (Criteria) this;
        }

        public Criteria andAmountDiffLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AMOUNT_DIFF <=", value, "amountDiff");
            return (Criteria) this;
        }

        public Criteria andAmountDiffIn(List<BigDecimal> values) {
            addCriterion("AMOUNT_DIFF in", values, "amountDiff");
            return (Criteria) this;
        }

        public Criteria andAmountDiffNotIn(List<BigDecimal> values) {
            addCriterion("AMOUNT_DIFF not in", values, "amountDiff");
            return (Criteria) this;
        }

        public Criteria andAmountDiffBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AMOUNT_DIFF between", value1, value2, "amountDiff");
            return (Criteria) this;
        }

        public Criteria andAmountDiffNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AMOUNT_DIFF not between", value1, value2, "amountDiff");
            return (Criteria) this;
        }

        public Criteria andAllBlockIsNull() {
            addCriterion("ALL_BLOCK is null");
            return (Criteria) this;
        }

        public Criteria andAllBlockIsNotNull() {
            addCriterion("ALL_BLOCK is not null");
            return (Criteria) this;
        }

        public Criteria andAllBlockEqualTo(String value) {
            addCriterion("ALL_BLOCK =", value, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockNotEqualTo(String value) {
            addCriterion("ALL_BLOCK <>", value, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockGreaterThan(String value) {
            addCriterion("ALL_BLOCK >", value, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockGreaterThanOrEqualTo(String value) {
            addCriterion("ALL_BLOCK >=", value, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockLessThan(String value) {
            addCriterion("ALL_BLOCK <", value, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockLessThanOrEqualTo(String value) {
            addCriterion("ALL_BLOCK <=", value, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockLike(String value) {
            addCriterion("ALL_BLOCK like", value, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockNotLike(String value) {
            addCriterion("ALL_BLOCK not like", value, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockIn(List<String> values) {
            addCriterion("ALL_BLOCK in", values, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockNotIn(List<String> values) {
            addCriterion("ALL_BLOCK not in", values, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockBetween(String value1, String value2) {
            addCriterion("ALL_BLOCK between", value1, value2, "allBlock");
            return (Criteria) this;
        }

        public Criteria andAllBlockNotBetween(String value1, String value2) {
            addCriterion("ALL_BLOCK not between", value1, value2, "allBlock");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("CONTENT is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("CONTENT is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("CONTENT =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("CONTENT <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("CONTENT >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("CONTENT >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("CONTENT <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("CONTENT <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("CONTENT like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("CONTENT not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("CONTENT in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("CONTENT not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("CONTENT between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("CONTENT not between", value1, value2, "content");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}